package com.fayou.cloud.entites;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * (Payment)实体类
 *
 * @author makejava
 * @since 2020-05-08 21:30:46
 */
public class Payment implements Serializable {
    private static final long serialVersionUID = -75440549269016269L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    private Double money;
    
    private String serial;

    public Payment(Integer id, Double money, String serial) {
        this.id = id;
        this.money = money;
        this.serial = serial;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    @Override
    public String toString() {
        return "Payment{" +
                "id=" + id +
                ", money=" + money +
                ", serial='" + serial + '\'' +
                '}';
    }
}